package boot.service;

import boot.domain.wxGoodsCart.GoodsShopcart;

import java.util.List;

public interface wxShoppingService {
    int add(int goodId, int num, int userId);

    List<GoodsShopcart> getCarts(int userId);

    GoodsShopcart getCartById(int Id);

    List<GoodsShopcart> CommitOrder(int userId);

    List<GoodsShopcart> getOrder(int userId);

    int changeGoodNum(int userId, int goodId, int num);

    int deleteGood(int userId, int goodId);

    int goodChecked(int userId, int goodId, Byte status);

    int setCartStatus(int cartId);
}
